macos: use CGLSetParameter and CGLEnable
authorChristian Hergert <chergert@redhat.com>
Mon, 7 Dec 2020 19:47:51 +0000 (11:47 -0800)
committerChristian Hergert <chergert@redhat.com>
Mon, 7 Dec 2020 19:47:51 +0000 (11:47 -0800)
commit6e0fffa0f84ee9aff67ba75ab79bdb2eb3c27cfd
treed1071f9c1d850bd5de5501092413d3a5736f75e6
parentb431e39d4e6624677684ec47746d0b1d7f64626b
macos: use CGLSetParameter and CGLEnable

We don't need to go through the NSOpenGLContext for these.
We can just use the C API directly. It's also clearer what is using
CGLEnable() vs CGLSetParameter().
gdk/macos/gdkmacosglcontext.c